package model.entity;

public class Dish {
    private int id;
    private String name;
    private int category_id;
    private float price;
    private String image;
    private String description;
    private int status;
    private String create_time;
    private String update_time;
    private int create_user;
    private int update_user;


    public Dish() {
    }

    public Dish(int id, String name, int category_id, float price, String image, String description, int status, String create_time, String update_time, int create_user, int update_user) {
        this.id = id;
        this.name = name;
        this.category_id = category_id;
        this.price = price;
        this.image = image;
        this.description = description;
        this.status = status;
        this.create_time = create_time;
        this.update_time = update_time;
        this.create_user = create_user;
        this.update_user = update_user;
    }

    /**
     * 获取
     * @return id
     */
    public int getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return category_id
     */
    public int getCategory_id() {
        return category_id;
    }

    /**
     * 设置
     * @param category_id
     */
    public void setCategory_id(int category_id) {
        this.category_id = category_id;
    }

    /**
     * 获取
     * @return price
     */
    public float getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(float price) {
        this.price = price;
    }

    /**
     * 获取
     * @return image
     */
    public String getImage() {
        return image;
    }

    /**
     * 设置
     * @param image
     */
    public void setImage(String image) {
        this.image = image;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return status
     */
    public int getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(int status) {
        this.status = status;
    }

    /**
     * 获取
     * @return create_time
     */
    public String getCreate_time() {
        return create_time;
    }

    /**
     * 设置
     * @param create_time
     */
    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    /**
     * 获取
     * @return update_time
     */
    public String getUpdate_time() {
        return update_time;
    }

    /**
     * 设置
     * @param update_time
     */
    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    /**
     * 获取
     * @return create_user
     */
    public int getCreate_user() {
        return create_user;
    }

    /**
     * 设置
     * @param create_user
     */
    public void setCreate_user(int create_user) {
        this.create_user = create_user;
    }

    /**
     * 获取
     * @return update_user
     */
    public int getUpdate_user() {
        return update_user;
    }

    /**
     * 设置
     * @param update_user
     */
    public void setUpdate_user(int update_user) {
        this.update_user = update_user;
    }

    public String toString() {
        return "Dish{id = " + id + ", name = " + name + ", category_id = " + category_id + ", price = " + price + ", image = " + image + ", description = " + description + ", status = " + status + ", create_time = " + create_time + ", update_time = " + update_time + ", create_user = " + create_user + ", update_user = " + update_user + "}";
    }
}
